var SERVICE_NAME = 'gdm-vmwcred';
-const VmwareCredentialsIface = '<node> \
-<interface name="' + dbusInterface + '"> \
-<signal name="UserAuthenticated"> \
- <arg type="s" name="token"/> \
-</signal> \
-</interface> \
-</node>';
+const VmwareCredentialsIface = `<node>
+<interface name="${dbusInterface}">
+<signal name="UserAuthenticated">
+ <arg type="s" name="token"/>
+</signal>
+</interface>
+</node>`;
const VmwareCredentialsInfo = Gio.DBusInterfaceInfo.new_for_xml(VmwareCredentialsIface);
/* Translators: this is the other person changing their old IM name to their new
IM name. */
- let message = '<i>' + _("%s is now known as %s").format(oldAlias, newAlias) + '</i>';
+ const message = `<i>${
+ _('%s is now known as %s').format(oldAlias, newAlias)}</i>`;
this._append({ body: message,
group: 'meta',
const FdoApplicationProxy = Gio.DBusProxy.makeProxyWrapper(FdoApplicationIface);
function objectPathFromAppId(appId) {
- return '/' + appId.replace(/\./g, '/').replace(/-/g, '_');
+ return `/${appId.replace(/\./g, '/').replace(/-/g, '_')}`;
}
function getPlatformData() {
}
_wrappingSvgFooter() {
- return '</style>' +
- '<xi:include href="' + this._imagePath + '" />' +
- '</svg>';
+ return '%s%s%s'.format(
+ '</style>',
+ '<xi:include href="%s" />'.format(this._imagePath),
+ '</svg>');
}
_cssString() {
this._endActionEdition();
this._editedAction = { type, number, dir, mode };
- let settingsPath = this._settings.path + key + '/';
+ const settingsPath = `${this._settings.path}${key}/`;
this._editedActionSettings = Gio.Settings.new_with_path('org.gnome.desktop.peripherals.tablet.pad-button',
settingsPath);
this._actionEditor.setSettings(this._editedActionSettings, type);
object-curly-newline:
- error
- consistent: true
- prefer-template: off
quotes: off